<?php 
include_once(''.P.'/public/header.html');
?>


<style>
.indexicons{padding:10px 5px;margin:20px;width:120px;text-align:center;border:0px #cccccc solid;border-radius:10px;float:left;color:white;background:#66CCFF;position:relative;cursor:pointer}
.indexicons span{position:absolute;right:5px;top:5px;background-color:gray;color:white;display:inline-block;padding:2px 5px;border-radius:5px}
.indexicons span:empty{display:none}
</style>
<script>
function initbody(){
	js.ajax({
		url:'?m=index&a=total&d=plat',
		success:function(da){
			var i,val;
			for(i in da){
				val = da[i];
				
				$('#stotel_'+i+'').html(val+'');
			}
		},
		dataType:'json'
	});	
}
</script>
</head>

<body>

<?php 
include_once(''.P.'/public/top_plat.html');
?>

<div align="center">

<div style="width:<?=$maxwidth?>;margin:20px 0px" align="left">
	<div>
		<a href="" class="zhu"><?=lang('plat.home')?></a>
	</div>
	<div class="mainbody">
		
		<div style="padding:0px 10px">
			<div style="padding:20px;font-size:20px" align="center">欢迎使用，<?=TITLE?></div>
			
		
			
			<div class="indexicons" onclick="js.location('?d=plat&m=users')">
				<div style="font-size:40px;" id="stotel_ushu">0</div>
				<div>平台用户数</div>
			</div>
			
			<div class="indexicons" style="background:#CCCC66" onclick="js.location('?d=plat&m=company')">
				<div style="font-size:40px;" id="stotel_cshu">0</div>
				<div>单位数</div>
			</div>
			
			<div class="indexicons" style="background:#6699FF" onclick="js.location('?d=plat&m=system&a=loginjl')">
				<div style="font-size:40px;"><i class="icon-key"></i></div>
				<div>登录记录</div>
				<span style="background:red" id="stotel_loginjl"></span>
			</div>
			
			<div class="indexicons" style="background:#66CCFF" onclick="js.location('?d=plat&m=system&a=log')">
				<div style="font-size:40px;"><i class="icon-question-sign"></i></div>
				<div>系统日志</div>
				<span style="background:red" id="stotel_log"></span>
			</div>
			
		</div>
		
		
	</div>
</div>



<?php 
include_once(''.P.'/public/footer.html');
?>
</div>

</body>
</html>